package com.mineplatform.viewmodel;

public class BaseResult<D> {

	public Boolean getSuccess() {
		return success;
	}
	public void setSuccess(Boolean success) {
		this.success = success;
	}
	public D getData() {
		return data;
	}
	public void setData(D data) {
		this.data = data;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	private Boolean success;
	private D data;
	private String code;
	private String msg;
	
	
	public BaseResult() {

	}

	public BaseResult(Boolean _success, String _code, String _msg, D _data) {
		this.success = _success;
		this.code = _code;
		this.msg = _msg;
		this.data = _data;
	}
}
